package com.moli.iov.down.model.dto.remoting;

import java.io.Serializable;
import lombok.Data;

/**
 * <p>
 *  终端参数设置结果应答 错误信息dto
 * </p>
 *
 * @author: zql
 * @Date: 2019/3/19 10:03
 */
@Data
public class CommandResDto implements Serializable {

    private String failMsg;

    private Boolean isIpOrPort;

    /**
     * 1 成功 2失败
     */
    private int resSesult;

    /**
     * 是否是更新蓝牙密码
     */
    private boolean isBluetoothPwd;

    /**
     * 更新蓝牙是否成功
     */
    private boolean isBluetoothPwdSuccess;

    public CommandResDto() {
    }

    public CommandResDto(String failMsg, Boolean isIpOrPort, int resSesult) {
        this.failMsg = failMsg;
        this.isIpOrPort = isIpOrPort;
        this.resSesult = resSesult;
    }
}
